/*
 * constants.h
 *
 *  Created on: 15-May-2011
 *      Author: tan-ce
 */

#ifndef CONSTANTS_H_
#define CONSTANTS_H_

#define APP_NAME		"Minecraft Proxy (e6p3f2) build 20110727-1"

#define BUFFER_SIZE		(1420)				// Size of buffer
#define WRITE_THRESHOLD	(BUFFER_SIZE - 50)	// When buffer is this full,
											// flush it
#define MAX_AGE			20					// Time to keep data before
											// sending anyway (in ms)

#define HTTP_PORT		"8080"				// Port to bind to. Should be a string

#endif /* CONSTANTS_H_ */
